package cn.csg.iotplatform.module.system.controller.admin.permission.vo.role;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * @author Mr.Z
 * @description: [角色管理]Excel导入 dto
 * @date 2024/3/21 15:06
 * @version: v2.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免角色导入有问题
public class RoleImportExcelDto {

    @ExcelProperty("角色名称")
    private String name;

    @ExcelProperty("角色描述")
    private String remark;

    @ExcelProperty("管理范围")
    private String dataScope;

    @ExcelProperty("是否公用")
    private String isPublic = "1";

}
